package com.juyu.miliao.api.dao.mysql;

import com.juyu.miliao.api.domain.RecommendNotice;
import org.apache.ibatis.session.SqlSession;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

@Repository
public class NoticeDao {

    @Resource
    private SqlSession sqlSession;


    public List<RecommendNotice> getNoticeList(){
       return sqlSession.selectList("getNoticeList");
    }

}
